package com.ruoyi.job.remoteService;

import com.ruoyi.common.core.web.domain.CommonEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.text.ParseException;

@FeignClient(name = "tql-hualala",path = "hualala")
public interface HualalaRemoteService {

    @PostMapping("/saveAllShop")
    void saveAllShop();



    @PostMapping("/saveShopMenu")
    void saveShopMenu(@RequestParam("shopId")  Long shopId);


    @PostMapping("/saveShopBillDetail")
    void saveShopBillDetail(@RequestBody CommonEntity entity) throws ParseException ;

    @PostMapping("/saveHllShopBillFoodReportday")
    void saveHllShopBillFoodReportday(@RequestBody CommonEntity entity);

}
